package com.ly.heart.service.impl;

import com.ly.heart.domain.KingFinanceReceiptRefundDetailEntity;
import com.ly.heart.mapper.KingFinanceReceiptRefundDetailMapper;
import com.ly.heart.service.IKingFinanceReceiptRefundDetailService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 * 收款退款单明细 服务实现类
 * </p>
 *
 * @author WuZH
 * @since 2024-08-04
 */
@Service
public class KingFinanceReceiptRefundDetailServiceImpl extends ServiceImpl<KingFinanceReceiptRefundDetailMapper, KingFinanceReceiptRefundDetailEntity> implements IKingFinanceReceiptRefundDetailService {

    @Resource
    private KingFinanceReceiptRefundDetailMapper kingFinanceReceiptRefundDetailMapper;

    @Override
    public List<KingFinanceReceiptRefundDetailEntity> selectReceiptRefundList (KingFinanceReceiptRefundDetailEntity kingFinanceReceiptRefundDetailEntity) {
        List<KingFinanceReceiptRefundDetailEntity> kingFinanceReceiptRefundDetailEntities = kingFinanceReceiptRefundDetailMapper.selectReceiptRefundList ( kingFinanceReceiptRefundDetailEntity );
        return kingFinanceReceiptRefundDetailEntities;
    }

    @Override
    public List<KingFinanceReceiptRefundDetailEntity> queryList ( String receiptId ) {
        List<KingFinanceReceiptRefundDetailEntity> kingFinanceReceiptRefundDetailEntities = kingFinanceReceiptRefundDetailMapper.queryList ( receiptId );
        return kingFinanceReceiptRefundDetailEntities;
    }

}
